<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>欢迎页面</title>
    <!-- 引入 layui CSS -->
    <link rel="stylesheet" href="/static/layui.css">
    <!-- 引入自定义样式 -->
    <link rel="stylesheet" href="/static/welcome.css">
</head>
<body>
    <div class="welcome-container">
        <div class="welcome-title">欢迎回来！</div>
        <div class="welcome-message layui-text">你好，{{ username }}！登录成功。</div>
        <form action="/" method="get">
            <button class="layui-btn layui-btn-danger" type="submit">退出登录</button>
        </form>
    </div>
    
    <!-- 引入 layui JS -->
    <script src="/static/layui.js"></script>
</body>
</html>